package cn.hahah.module.blog.controller.admin.sysnotice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 博客系统公告新增/修改 Request VO")
@Data
public class SysNoticeSaveReqVO {

    @Schema(description = "公告编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "533")
    private Long id;

    @Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "公告标题不能为空")
    private String title;

    @Schema(description = "公告正文", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "公告正文不能为空")
    private String content;

}